inherited frmTd_Unitprice_List: TfrmTd_Unitprice_List
  Left = 242
  Top = 169
  Caption = #35774#32622#36135#21697#20215#26684
  ClientWidth = 928
  ExplicitLeft = 0
  ExplicitWidth = 936
  PixelsPerInch = 96
  TextHeight = 12
  inherited Panel1: TPanel
    Width = 928
    inherited img3: TImage
      Left = 605
    end
    inherited labFuncName: TcxLabel
      Style.IsFontAssigned = True
    end
    inherited labFuncDesc: TcxLabel
      Style.IsFontAssigned = True
    end
  end
  inherited pnlMain: TPanel
    Width = 928
    Height = 322
    ExplicitWidth = 809
    ExplicitHeight = 322
    inherited MainDataGrid: TcxGrid
      Left = 193
      Width = 735
      Height = 322
      ExplicitLeft = 193
      ExplicitWidth = 616
      ExplicitHeight = 322
      inherited MainDataGridDBTableView: TcxGridDBTableView
        OptionsData.Editing = True
        object p_code: TcxGridDBColumn
          Caption = #36135#21697#32534#30721
          DataBinding.FieldName = 'code'
          Options.Editing = False
          Width = 56
        end
        object p_name: TcxGridDBColumn
          Caption = #36135#21697#21517#31216
          DataBinding.FieldName = 'name'
          Options.Editing = False
          Width = 62
        end
        object p_spec: TcxGridDBColumn
          Caption = #35268#26684
          DataBinding.FieldName = 'spec'
          Options.Editing = False
          Width = 59
        end
        object unitname: TcxGridDBColumn
          Caption = #21333#20301#21517#31216
          DataBinding.FieldName = 'unitname'
          Options.Editing = False
          Width = 71
        end
        object purtopprice: TcxGridDBColumn
          Caption = #26368#39640#36827#20215
          DataBinding.FieldName = 'purtopprice'
          Width = 55
        end
        object salelowprice: TcxGridDBColumn
          Caption = #26368#20302#21806#20215
          DataBinding.FieldName = 'salelowprice'
          Width = 53
        end
        object purreprice: TcxGridDBColumn
          Caption = #21442#32771#36827#20215
          DataBinding.FieldName = 'purreprice'
          Width = 53
        end
        object salereprice: TcxGridDBColumn
          Caption = #21442#32771#21806#20215
          DataBinding.FieldName = 'salereprice'
          Width = 53
        end
        object price1: TcxGridDBColumn
          Caption = #19968#32423#25209#21457#20215
          DataBinding.FieldName = 'price1'
          Width = 65
        end
        object price2: TcxGridDBColumn
          Caption = #20108#32423#25209#21457#20215
          DataBinding.FieldName = 'price2'
          Width = 65
        end
        object price3: TcxGridDBColumn
          Caption = #19977#32423#25209#21457#20215
          DataBinding.FieldName = 'price3'
          Width = 65
        end
        object price4: TcxGridDBColumn
          Caption = #22235#32423#25209#21457#20215
          DataBinding.FieldName = 'price4'
          Width = 65
        end
        object price5: TcxGridDBColumn
          Caption = #20116#32423#25209#21457#20215
          DataBinding.FieldName = 'price5'
          Width = 65
        end
        object abname: TcxGridDBColumn
          Caption = #31616#31216
          DataBinding.FieldName = 'abname'
          Options.Editing = False
          Width = 47
        end
        object depotkindname: TcxGridDBColumn
          Caption = #23384#36135#31867#22411
          DataBinding.FieldName = 'depotkindname'
          Options.Editing = False
          Width = 63
        end
        object calccost: TcxGridDBColumn
          Caption = #25104#26412#26680#31639#26041#27861
          DataBinding.FieldName = 'calccost'
          Options.Editing = False
          Width = 94
        end
        object producttypename: TcxGridDBColumn
          Caption = #36135#21697#31867#21035
          DataBinding.FieldName = 'producttypename'
          Options.Editing = False
          Width = 70
        end
        object typename: TcxGridDBColumn
          Caption = #36135#21697#23646#24615
          DataBinding.FieldName = 'typename'
          Options.Editing = False
          Width = 70
        end
      end
    end
    object pnlTree: TPanel
      Left = 0
      Top = 0
      Width = 185
      Height = 322
      Align = alLeft
      BevelOuter = bvNone
      TabOrder = 2
      object treType: TcxTreeView
        Left = 0
        Top = 25
        Width = 185
        Height = 297
        Align = alClient
        TabOrder = 0
        OnClick = treTypeClick
        Images = MainDM.imgList
      end
      object CoolBar1: TCoolBar
        Left = 0
        Top = 0
        Width = 185
        Height = 25
        Bands = <
          item
            Control = CbbOption
            ImageIndex = -1
            MinHeight = 21
            Width = 181
          end>
        object CbbOption: TcxComboBox
          Left = 9
          Top = 0
          Properties.ImmediatePost = True
          Properties.OnValidate = CbbOptionPropertiesValidate
          TabOrder = 0
          Width = 172
        end
      end
    end
    object cxSplitter1: TcxSplitter
      Left = 185
      Top = 0
      Width = 8
      Height = 322
      Cursor = crHSplit
      HotZoneClassName = 'TcxSimpleStyle'
      Control = pnlTree
    end
  end
  inherited pnlBottom: TPanel
    Top = 367
    Width = 928
    Height = 55
    ExplicitTop = 367
    ExplicitHeight = 55
    inherited lblGroupSort: TcxLabel [0]
      Top = 14
      Style.IsFontAssigned = True
      ExplicitTop = 14
    end
    object lblPrice: TcxLabel [1]
      Left = 223
      Top = 19
      Caption = #21442#32771#20215#26684'               '#35843#25972#20215#26684'               '#35745#31639'        '#20540
    end
    inherited btnNew: TcxButton [2]
      Left = 36
      Top = 15
      Visible = False
      ExplicitLeft = 36
      ExplicitTop = 15
    end
    inherited chkGroupSort: TcxCheckBox [3]
      Left = 88
      Top = 17
      ExplicitLeft = 88
      ExplicitTop = 17
      ExplicitWidth = 72
    end
    inherited chkHandGroup: TcxCheckBox [4]
      Left = 156
      Top = 17
      ExplicitLeft = 156
      ExplicitTop = 17
      ExplicitWidth = 72
    end
    inherited edtPause: TcxComboBox [5]
      Left = 1087
      Top = 22
      Visible = False
      ExplicitLeft = 968
      ExplicitTop = 22
    end
    inherited btnOperator: TcxButton [6]
      Top = 15
      ExplicitTop = 15
    end
    inherited chkGridFilter: TcxCheckBox [7]
      Left = 707
      Top = 17
      ExplicitLeft = 707
      ExplicitTop = 17
      ExplicitWidth = 72
    end
    object btnSetPrice: TcxButton
      Left = 636
      Top = 15
      Width = 75
      Height = 25
      Caption = #35774#32622#20215#26684
      TabOrder = 7
      OnClick = btnSetPriceClick
    end
    object btnOk: TcxButton
      Left = 774
      Top = 15
      Width = 75
      Height = 25
      Anchors = [akTop, akRight]
      Caption = #20445#23384
      Colors.Default = 16773345
      OptionsImage.Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333333333333333330000333333333333333333333333F33333333333
        00003333344333333333333333388F3333333333000033334224333333333333
        338338F3333333330000333422224333333333333833338F3333333300003342
        222224333333333383333338F3333333000034222A22224333333338F338F333
        8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
        33333338F83338F338F33333000033A33333A222433333338333338F338F3333
        0000333333333A222433333333333338F338F33300003333333333A222433333
        333333338F338F33000033333333333A222433333333333338F338F300003333
        33333333A222433333333333338F338F00003333333333333A22433333333333
        3338F38F000033333333333333A223333333333333338F830000333333333333
        333A333333333333333338330000333333333333333333333333333333333333
        0000}
      OptionsImage.NumGlyphs = 2
      TabOrder = 8
      OnClick = btnOkClick
    end
    object btnSave: TcxButton
      Left = 987
      Top = 15
      Width = 75
      Height = 25
      Anchors = [akTop, akRight]
      Caption = #20445#23384#36864#20986
      Colors.Default = 16773345
      ModalResult = 1
      OptionsImage.Glyph.Data = {
        DE010000424DDE01000000000000760000002800000024000000120000000100
        0400000000006801000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333333333333333333330000333333333333333333333333F33333333333
        00003333344333333333333333388F3333333333000033334224333333333333
        338338F3333333330000333422224333333333333833338F3333333300003342
        222224333333333383333338F3333333000034222A22224333333338F338F333
        8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
        33333338F83338F338F33333000033A33333A222433333338333338F338F3333
        0000333333333A222433333333333338F338F33300003333333333A222433333
        333333338F338F33000033333333333A222433333333333338F338F300003333
        33333333A222433333333333338F338F00003333333333333A22433333333333
        3338F38F000033333333333333A223333333333333338F830000333333333333
        333A333333333333333338330000333333333333333333333333333333333333
        0000}
      OptionsImage.NumGlyphs = 2
      TabOrder = 9
      OnClick = btnSaveClick
      ExplicitLeft = 868
    end
    object btnCancle: TcxButton
      Left = 852
      Top = 15
      Width = 75
      Height = 25
      Anchors = [akTop, akRight]
      Cancel = True
      Caption = #21462#28040
      Colors.Default = 16773345
      ModalResult = 2
      OptionsImage.Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000C8C8C8C8C8C8
        C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C831332D30
        322B30322B32332EC8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        C8C8C8000000120E26291F4E423086543BAC5139A53A2A742017410907160000
        00C8C8C8C8C8C8C8C8C8C8C8C8C8C8C80B0916514595533BB46039E27844FF87
        4BFF8549FF7342FE5A37D45542AC584F88000000C8C8C8C8C8C8C8C8C80E0C19
        6654CB4C2CDD663AFC6A44C94E367A3526513B2B595035826A42D8572DEE5337
        D7594EA0000000C8C8C8C8C8C85849B8381FCF5132D71A1430C8C8C8C8C8C8C8
        C8C8C8C8C81A152D4E389F532EE93F20DE3E27CB312A67C8C8C81C18323A25C4
        3C22CA0A0810C8C8C8C8C8C8C8C8C8C8C8C8392D685D3FCC522AEC4E30D43023
        6A331ACA422FBD010100211A502C18C120165FC8C8C8C8C8C8C8C8C804030446
        398D5237D54222DF462DB8050407C8C8C832219B2F1CBD0E0C1E180F4E2B17BB
        120D2DC8C8C8C8C8C80B09143F32923822C43219CC332288C8C8C8C8C8C8C8C8
        C82217632C18BC09061D18114A2715AF302769C8C8C819152C453B93574AC767
        58D6322B5BC8C8C8C8C8C8C8C8C8C8C8C84033992916B00806180B091E2614AA
        4033AF393265584DB06D62D68075DE231E36C8C8C8C8C8C8C8C8C8C8C8C83B37
        553121AA2A1AA4C8C8C8C8C8C8261A7E2D1EA65E54C3756CD77E77C30B0A0CC8
        C8C8C8C8C8C8C8C80000002623446A61C52514A51A1350C8C8C8C8C8C8010000
        2E20986D64CF8A82D828245E1B17491B17431A16431D194E3934787871C6655B
        CF1F1473C8C8C8C8C8C8C8C8C8C8C8C8C8C8C82D25789088E6C8C4FABCBBE6B9
        B6E0B8B5E0C0BDE9C3C0FC7B72D91B1358C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        C8C8C8C8C8C858576C8F88C8A8A3E8BBB7EEB7B3EDA8A1E87C77B156555CC8C8
        C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8
        C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8C8}
      TabOrder = 10
      OnClick = btnCancleClick
    end
    object edtSourcePrice: TcxComboBox
      Left = 272
      Top = 17
      Properties.DropDownListStyle = lsFixedList
      Properties.ImmediatePost = True
      Properties.Items.Strings = (
        #26368#39640#36827#20215
        #26368#20302#21806#20215
        #21442#32771#36827#20215
        #21442#32771#21806#20215
        #19968#32423#25209#21457#20215
        #20108#32423#25209#21457#20215
        #19977#32423#25209#21457#20215
        #22235#32423#25209#21457#20215
        #20116#32423#25209#21457#20215
        #26080)
      Properties.OnValidate = CbbOptionPropertiesValidate
      TabOrder = 11
      Text = #21442#32771#21806#20215
      Width = 85
    end
    object edtTargetPrice: TcxComboBox
      Left = 411
      Top = 17
      Properties.DropDownListStyle = lsFixedList
      Properties.ImmediatePost = True
      Properties.Items.Strings = (
        #26368#39640#36827#20215
        #26368#20302#21806#20215
        #21442#32771#36827#20215
        #21442#32771#21806#20215
        #19968#32423#25209#21457#20215
        #20108#32423#25209#21457#20215
        #19977#32423#25209#21457#20215
        #22235#32423#25209#21457#20215
        #20116#32423#25209#21457#20215)
      Properties.OnValidate = CbbOptionPropertiesValidate
      TabOrder = 12
      Text = #21442#32771#21806#20215
      Width = 85
    end
    object edtOperator: TcxComboBox
      Left = 524
      Top = 17
      Properties.ImmediatePost = True
      Properties.Items.Strings = (
        '+'
        '-'
        '*'
        '/')
      Properties.OnValidate = CbbOptionPropertiesValidate
      TabOrder = 13
      Text = '+'
      Width = 40
    end
    object edtValue: TcxCurrencyEdit
      Left = 584
      Top = 17
      Properties.DecimalPlaces = 4
      Properties.DisplayFormat = '0.00;-,0.00'
      TabOrder = 14
      Width = 50
    end
  end
  inherited PopupMenu1: TPopupMenu
    inherited PopmnuNewRecord: TMenuItem
      Enabled = False
    end
    inherited PopmnuModifyRecord: TMenuItem
      Enabled = False
    end
    inherited PopmnuDeleteRecord: TMenuItem
      Enabled = False
    end
  end
  inherited MainDataSetU: TUniQuery
    SQLUpdate.Strings = (
      'UPDATE dbo.td_unitprice'
      'SET'
      
        '  salereprice = :salereprice, purreprice = :purreprice, purtoppr' +
        'ice = :purtopprice, salelowprice = :salelowprice, price1 = :pric' +
        'e1, price2 = :price2, price3 = :price3, price4 = :price4, price5' +
        ' = :price5'
      'WHERE'
      '  unitid = :Old_unitid')
    SQL.Strings = (
      'select * from v_td_unitprice')
  end
end
